package org.jiajie.designpatterndemo.bridge.runoob;

/**
 * 使用 DrawAPI 接口创建抽象类 Shape
 * @author jay
 */
public abstract class Shape {
    protected DrawApi drawApi;

    protected Shape(DrawApi drawApi) {
        this.drawApi = drawApi;
    }

    public abstract void draw();
}
